package com.computerManagementSystem.service;

import com.computerManagementSystem.pojo.BorrowThing;
import com.computerManagementSystem.pojo.Things;

import java.util.List;

/**
 * @author 赖志宇
 * @date 2020/6/27 1:30
 */
public interface ThingsService {
    void addNewThing(Things things);

    void borrowThing(BorrowThing borrowThing);

    void modifyThing(Things things);

    void returnThing(BorrowThing borrowThing);

    List<BorrowThing> getMemberBorrowThingList(int page,int limit);

    List<BorrowThing> getMemberSelfBorrowingThingList(String id);

    List<Things> getThingList(int page,int limit);

    List<Things> getCanBorrowThingList(int page,int limit);
}
